A5Storage::NameCache Set Method

Syntax

.Set as L (Key as C, Value as C)

Arguments

NameCharacter

The cached Storage name to replace.

ValueCharacter

A Storage connection string.

Returns

ResultLogical

Returns .T. if the operation succeeds, otherwise .F. (see .CallResult for additional error information.)

Description

Adds or replaces a connection string in the cache.

Example

dim Cache as A5Storage::NameCache
? Cache.Set("MyName", "MyConnectionString")
= .T.